package org.example.model;

import org.example.command.CmdResultCode;
import org.example.engine.RbCmd;
import org.example.order.L1MarketData;

public interface OrderBook {

    CmdResultCode newOrder(RbCmd cmd);

    CmdResultCode cancleOrder(RbCmd cmd);

    default L1MarketData getL1MarketDateSnapshot() {
        return null;
    }
}
